<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8" />
		<title>10.关于函数与对象</title>
	</head>
	<body>
		<script type="text/javascript" >
			// let data = {x:100,y:200}

			function data(){
				return {x:100,y:200}
			}

			console.log(data()) //小张

			data().x = 1 //小李

			console.log(data()) //小王

			let x1 = data()
			let x2 = data()
			let x3 = data()

			console.log(x1 === x2)
			console.log(x1)
			console.log(x2)

		</script>
	</body>
</html>